package com.yyy.gui.frame;

import com.yyy.gui.pannel.MainPanel;

import javax.swing.*;

/**
 * @Author：yyy
 * @Package：com.yyy.gui.frame
 * @Project：HuTuBiill
 * @name：MainFrame
 * @Date：2024/11/7 21:57
 * @Filename：MainFrame
 */
public class MainFrame extends JFrame {

    public static MainFrame instace=new MainFrame();

    private MainFrame(){
        this.setSize(500,450);
        this.setTitle("一本糊涂账");
        this.setContentPane(MainPanel.instance);
        this.setLocationRelativeTo(null);
        this.setResizable(false);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }


}
